home *** CD-ROM | disk | FTP | other *** search
- on testnext
- startTimer()
- repeat with X = 1 to 10000
- nextMember(member(random(1000), 2), 3)
- end repeat
- put "Next member took" && the timer
- end
-
- on fixCastLibs newCastLib
- beginRecording()
- repeat with f = the frame to the lastFrame
- go(f)
- repeat with X = 1 to 20
- set the castLibNum of sprite X to newCastLib
- if the scriptNum of sprite X <> 0 then
- temp = member(the scriptNum of sprite X)
- end if
- end repeat
- updateFrame()
- end repeat
- endRecording()
- end
-
- on fixsounds
- repeat with X = 1 to the number of castMembers
- thisMem = member(X, "inf_sounds")
- if thisMem.type = #sound then
- if thisMem.fileName <> EMPTY then
- thisName = thisMem.fileName
- findIt = offset(" Folder", thisName)
- if findIt > 0 then
- delete char findIt to findIt + length(" Folder") - 1 of thisName
- put thisName
- thisMem.fileName = thisName
- end if
- end if
- end if
- end repeat
- put "Done"
- end
-
- on fix dX, dY
- repeat with i = 115 to 135
- a = member(i, "flash2").regPoint
- X = a.locH + dX
- Y = a.locV + dY
- member(i, "flash2").regPoint = point(X, Y)
- end repeat
- end
-